package com.xnew.resource.bean;

import java.io.Serializable;
import java.util.List;

public class AuResource implements Serializable {
    private String arsId;

    private String arsName;

    private String arsRemark;

    private String arsUrl;

    private String arsType;

    private String arsCreateUser;

    private String arsCreateTime;
    
    private String menuId;
    
    private String parentId;
    
    private String orderBy;
    
    private String permission;
    
    private boolean status;
    
    private String parentArsId;
    
	public String getParentArsId() {
		return parentArsId;
	}

	public void setParentArsId(String parentArsId) {
		this.parentArsId = parentArsId;
	}

	private List<AuResource> children;

    private static final long serialVersionUID = 1L;

    public AuResource() {
		super();
	}

	public AuResource(String arsId, String arsName, String arsRemark, String arsUrl, String arsType,
			String arsCreateUser, String arsCreateTime, String menuId, String parentId, String orderBy,
			String permission) {
		super();
		this.arsId = arsId;
		this.arsName = arsName;
		this.arsRemark = arsRemark;
		this.arsUrl = arsUrl;
		this.arsType = arsType;
		this.arsCreateUser = arsCreateUser;
		this.arsCreateTime = arsCreateTime;
		this.menuId = menuId;
		this.parentId = parentId;
		this.orderBy = orderBy;
		this.permission = permission;
	}
	
	

	public void setStatus(boolean status) {
		this.status = status;
	}
	
	public boolean getStatus(){
		return status;
	}

	public String getPermission() {
		return permission;
	}

	public void setPermission(String permission) {
		this.permission = permission;
	}

	public String getArsId() {
        return arsId;
    }

    public void setArsId(String arsId) {
        this.arsId = arsId == null ? null : arsId.trim();
    }

    public String getArsName() {
        return arsName;
    }

    public void setArsName(String arsName) {
        this.arsName = arsName == null ? null : arsName.trim();
    }

    public String getArsRemark() {
        return arsRemark;
    }

    public void setArsRemark(String arsRemark) {
        this.arsRemark = arsRemark == null ? null : arsRemark.trim();
    }

    public String getArsUrl() {
        return arsUrl;
    }

    public void setArsUrl(String arsUrl) {
        this.arsUrl = arsUrl == null ? null : arsUrl.trim();
    }

    public String getArsType() {
        return arsType;
    }

    public void setArsType(String arsType) {
        this.arsType = arsType == null ? null : arsType.trim();
    }

    public String getArsCreateUser() {
        return arsCreateUser;
    }

    public void setArsCreateUser(String arsCreateUser) {
        this.arsCreateUser = arsCreateUser == null ? null : arsCreateUser.trim();
    }

    public String getArsCreateTime() {
        return arsCreateTime;
    }

    public void setArsCreateTime(String arsCreateTime) {
        this.arsCreateTime = arsCreateTime == null ? null : arsCreateTime.trim();
    }

	public String getMenuId() {
		return menuId;
	}

	public void setMenuId(String menuId) {
		this.menuId = menuId;
	}
	
	public List<AuResource> getChildren() {
		return children;
	}

	public void setChildren(List<AuResource> children) {
		this.children = children;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
	
	public String getOrderBy() {
		return orderBy;
	}

	public void setOrderBy(String orderBy) {
		this.orderBy = orderBy;
	}

	@Override
	public String toString() {
		return "AuResource [arsId=" + arsId + ", arsName=" + arsName + ", arsRemark=" + arsRemark + ", arsUrl=" + arsUrl
				+ ", arsType=" + arsType + ", arsCreateUser=" + arsCreateUser + ", arsCreateTime=" + arsCreateTime
				+ ", menuId=" + menuId + ", parentId=" + parentId + ", orderBy=" + orderBy + ", permission="
				+ permission + ", children=" + children + "]";
	}

}